package com.game.gm.handler;

import java.io.PrintWriter;

import game.command.ICommand;
import game.message.Message;

/**
 * handler 澶勭悊绫�
 * 
 * @author wenxueling
 *
 */
public abstract class Handler implements ICommand {
	/**
	 * 娑堟伅
	 */
	private Message message;
	/**
	 */
	private Object executor;
	
	private PrintWriter writer;
	
	/**
	 * 鍒涘缓鏃堕棿
	 */
	private long createTime;

	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}

	public Message getMessage() {
		return this.message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public Object getExecutor() {
		return this.executor;
	}

	public void setExecutor(Object executor) {
		this.executor = executor;
	}

	public long getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public PrintWriter getWriter() {
		return writer;
	}

	public void setWriter(PrintWriter writer) {
		this.writer = writer;
	}
}